package work.mediway.mdm.biz.service.biz;

import com.baomidou.mybatisplus.extension.service.IService;

import work.mediway.mdm.biz.entity.biz.BpmDict;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2022/8/10
 */
public interface BpmDictService extends IService<BpmDict> {

    /**
     * 创建请求申请
     *
     * @param userId  Long
     * @param bpmDict BpmDict
     * @return Long
     */
    Long createDictApply(Long userId, BpmDict bpmDict);

    /**
     * 更新
     *
     * @param id long
     * @param result    Integer
     */
    void updateDictApplyResult(long id, Integer result);
}
